import request from'@/request.js'



export const getfoodservice = (type) => {
    const queryParams = new URLSearchParams();
    queryParams.append('type', type); // 将用户名添加到查询字符串中

    const url = `/food/getfood?${queryParams.toString()}`; // 将查询字符串添加到 URL 中

    return request.post(url);
}